<template>
      <div class="iconList"> 
          <div class="iconItem"> 
              <router-link to="/gedanSongs">
                <p class="iconfont icon-rili" style="font-size: 0.47rem;"></p>
                <span>每日推荐</span>
              </router-link>
          </div> 
          <div class="iconItem"> 
            <router-link to="/gedanSongs">
            <p class="iconfont icon-diantai"></p>
            <span>私人FM</span></router-link>
          </div> 
          <div class="iconItem"> 
            <p class="iconfont icon-gedan"></p>
            <span>歌单</span>
          </div> 
          <div class="iconItem"> 
            <p class="iconfont icon-PCbofangye_paihangbang"></p>
            <span>排行榜</span>
          </div> 
          <div class="iconItem"> 
            <p class="iconfont icon-zhuanjiguangpan"></p>
            <span>数字专辑</span>
          </div> 
      </div>
  <div class="line"></div>
</template>

<script>
// import {onMounted} from 'vue'
// import {useRouter} from 'vue-router'

export default {
  setup(){
    //  const router=useRouter();
    //  const goDailySongs=()=>{
    //      router.push({
    //        path:'/dailySongs'
    //      })
    //  }
    //  return{
    //    goDailySongs
    //  }
  }
};
</script>

<style scoped>
.iconList{
  width: 7rem;
  height: 1.25rem;
  margin: 0.25rem auto;
  display: flex;
  justify-content: space-between;
}
.iconItem{
  width: 1.2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: rgba(0, 0, 0, 0.8);;
}
.iconItem p{
  background-color: rgba(0, 0, 0, 0.2);
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 1rem;
  border: 0px;
  font-size: 0.5rem;
  margin-bottom: 0.08rem;
  padding-top: 0.12rem;
}
.line{
  width: 7.5rem;
  height: 0.01rem;
  background-color: rgba(0, 0, 0, 0.2);
}
.iconItem :link,.iconItem :visited{
    color: black;
    text-decoration-line: none;
}
</style>
